<!DOCTYPE html>
<html lang="zh-CN">
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width,initial-scale=1">
    <title>PIEPanel 按钮组件 | 在线文档</title>
    <meta name="description" content=" ">
    <link rel="stylesheet" href="/onlinedocx/assets/style.35b0e7b5.css">
    <link rel="modulepreload" href="/onlinedocx/assets/Home.57e6b460.js">
    <link rel="modulepreload" href="/onlinedocx/assets/app.a6a2ebb4.js">
    <link rel="modulepreload" href="/onlinedocx/assets/components_PIEPanel.md.7168684d.lean.js">
    <link rel="modulepreload" href="/onlinedocx/assets/app.a6a2ebb4.js">
    <meta name="author" content="Archer">
    <meta name="keywords" content="vue-element-plus-admin, vitejs, vite, element-plus, vue">
    <link rel="icon" type="image/x-icon" href="/logo.png">
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no">
    <meta name="keywords" content="online-doc">
    <link rel="icon" href="/logo.png">
    <meta name="twitter:title" content="PIEPanel 按钮组件 | 在线文档">
    <meta property="og:title" content="PIEPanel 按钮组件 | 在线文档">
  </head>
  <body>
    <div id="app"><!--[--><div class="theme"><header class="nav-bar" data-v-23ef83fe><div class="sidebar-button" data-v-23ef83fe><svg class="icon" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" role="img" viewBox="0 0 448 512"><path fill="currentColor" d="M436 124H12c-6.627 0-12-5.373-12-12V80c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12z" class></path></svg></div><a class="nav-bar-title" href="/onlinedocx/" aria-label="在线文档, back to home" data-v-23ef83fe data-v-dc837cb8><img class="logo" src="/onlinedocx/logo.png" alt="Logo" data-v-dc837cb8> 在线文档</a><div class="flex-grow" data-v-23ef83fe></div><div class="nav" data-v-23ef83fe><nav class="nav-links" data-v-23ef83fe data-v-0cf770ed><!--[--><div class="item" data-v-0cf770ed><div class="nav-dropdown-link" data-v-0cf770ed data-v-33970600><button class="button" data-v-33970600><span class="button-text" data-v-33970600>指南</span><span class="right button-arrow" data-v-33970600></span></button><ul class="dialog" data-v-33970600><!--[--><li class="dialog-item" data-v-33970600><div class="nav-dropdown-link-item" data-v-33970600 data-v-5978e1c0><a class="item" href="/onlinedocx/guide/introduction" data-v-5978e1c0><span class="arrow" data-v-5978e1c0></span><span class="text" data-v-5978e1c0>指南</span><span class="icon" data-v-5978e1c0><!----></span></a></div></li><li class="dialog-item" data-v-33970600><div class="nav-dropdown-link-item" data-v-33970600 data-v-5978e1c0><a class="item" href="/onlinedocx/dep/i18n" data-v-5978e1c0><span class="arrow" data-v-5978e1c0></span><span class="text" data-v-5978e1c0>深入</span><span class="icon" data-v-5978e1c0><!----></span></a></div></li><!--]--></ul></div></div><div class="item" data-v-0cf770ed><div class="nav-dropdown-link" data-v-0cf770ed data-v-33970600><button class="button" data-v-33970600><span class="button-text" data-v-33970600>组件</span><span class="right button-arrow" data-v-33970600></span></button><ul class="dialog" data-v-33970600><!--[--><li class="dialog-item" data-v-33970600><div class="nav-dropdown-link-item" data-v-33970600 data-v-5978e1c0><a class="item" href="/onlinedocx/components/introduction_com" data-v-5978e1c0><span class="arrow" data-v-5978e1c0></span><span class="text" data-v-5978e1c0>介绍</span><span class="icon" data-v-5978e1c0><!----></span></a></div></li><li class="dialog-item" data-v-33970600><div class="nav-dropdown-link-item" data-v-33970600 data-v-5978e1c0><a class="item" href="/onlinedocx/components/introduction" data-v-5978e1c0><span class="arrow" data-v-5978e1c0></span><span class="text" data-v-5978e1c0>全局组件</span><span class="icon" data-v-5978e1c0><!----></span></a></div></li><li class="dialog-item" data-v-33970600><div class="nav-dropdown-link-item" data-v-33970600 data-v-5978e1c0><a class="item" href="/onlinedocx/components/introduction" data-v-5978e1c0><span class="arrow" data-v-5978e1c0></span><span class="text" data-v-5978e1c0>功能组件</span><span class="icon" data-v-5978e1c0><!----></span></a></div></li><li class="dialog-item" data-v-33970600><div class="nav-dropdown-link-item" data-v-33970600 data-v-5978e1c0><a class="item" href="/onlinedocx/components/image-viewer" data-v-5978e1c0><span class="arrow" data-v-5978e1c0></span><span class="text" data-v-5978e1c0>函数式组件</span><span class="icon" data-v-5978e1c0><!----></span></a></div></li><!--]--></ul></div></div><div class="item" data-v-0cf770ed><div class="nav-dropdown-link" data-v-0cf770ed data-v-33970600><button class="button" data-v-33970600><span class="button-text" data-v-33970600>示例</span><span class="right button-arrow" data-v-33970600></span></button><ul class="dialog" data-v-33970600><!--[--><li class="dialog-item" data-v-33970600><div class="nav-dropdown-link-item" data-v-33970600 data-v-5978e1c0><a class="item" href="/onlinedocx/components/introduction" data-v-5978e1c0><span class="arrow" data-v-5978e1c0></span><span class="text" data-v-5978e1c0>介绍</span><span class="icon" data-v-5978e1c0><!----></span></a></div></li><li class="dialog-item" data-v-33970600><div class="nav-dropdown-link-item" data-v-33970600 data-v-5978e1c0><a class="item" href="/onlinedocx/components/mainapp" data-v-5978e1c0><span class="arrow" data-v-5978e1c0></span><span class="text" data-v-5978e1c0>主系统</span><span class="icon" data-v-5978e1c0><!----></span></a></div></li><li class="dialog-item" data-v-33970600><div class="nav-dropdown-link-item" data-v-33970600 data-v-5978e1c0><a class="item" href="/onlinedocx/components/mapapp" data-v-5978e1c0><span class="arrow" data-v-5978e1c0></span><span class="text" data-v-5978e1c0>子系统一</span><span class="icon" data-v-5978e1c0><!----></span></a></div></li><li class="dialog-item" data-v-33970600><div class="nav-dropdown-link-item" data-v-33970600 data-v-5978e1c0><a class="item" href="/onlinedocx/components/demoapp" data-v-5978e1c0><span class="arrow" data-v-5978e1c0></span><span class="text" data-v-5978e1c0>子系统二</span><span class="icon" data-v-5978e1c0><!----></span></a></div></li><!--]--></ul></div></div><div class="item" data-v-0cf770ed><div class="nav-link" data-v-0cf770ed data-v-48f23096><a class="item" href="/onlinedocx/hooks/introduction" data-v-48f23096>常用Hooks <!----></a></div></div><div class="item" data-v-0cf770ed><div class="nav-dropdown-link" data-v-0cf770ed data-v-33970600><button class="button" data-v-33970600><span class="button-text" data-v-33970600>相关链接</span><span class="right button-arrow" data-v-33970600></span></button><ul class="dialog" data-v-33970600><!--[--><li class="dialog-item" data-v-33970600><div class="nav-dropdown-link-item" data-v-33970600 data-v-5978e1c0><a class="item isExternal" href="https://m608-preview.gitee.io/onlinedocx/guide/introduction.html" target="_blank" rel="noopener noreferrer" data-v-5978e1c0><span class="arrow" data-v-5978e1c0></span><span class="text" data-v-5978e1c0>在线预览</span><span class="icon" data-v-5978e1c0><svg class="icon outbound" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewbox="0 0 100 100" width="15" height="15" data-v-5978e1c0><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path><polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></span></a></div></li><li class="dialog-item" data-v-33970600><div class="nav-dropdown-link-item" data-v-33970600 data-v-5978e1c0><a class="item isExternal" href="https://git.piesat.cn:10004/piecloud/PIE-SaaS/web/module-group/pie-smart-earth-web" target="_blank" rel="noopener noreferrer" data-v-5978e1c0><span class="arrow" data-v-5978e1c0></span><span class="text" data-v-5978e1c0>GitLab 智慧地球源码</span><span class="icon" data-v-5978e1c0><svg class="icon outbound" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewbox="0 0 100 100" width="15" height="15" data-v-5978e1c0><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path><polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></span></a></div></li><li class="dialog-item" data-v-33970600><div class="nav-dropdown-link-item" data-v-33970600 data-v-5978e1c0><a class="item isExternal" href="https://gitee.com/mzy_sw/onlineDoc.git" target="_blank" rel="noopener noreferrer" data-v-5978e1c0><span class="arrow" data-v-5978e1c0></span><span class="text" data-v-5978e1c0>GitLab 智慧地球在线文档源码</span><span class="icon" data-v-5978e1c0><svg class="icon outbound" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewbox="0 0 100 100" width="15" height="15" data-v-5978e1c0><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path><polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></span></a></div></li><li class="dialog-item" data-v-33970600><div class="nav-dropdown-link-item" data-v-33970600 data-v-5978e1c0><a class="item isExternal" href="https://localhost:3000/CHANGELOG.md" target="_blank" rel="noopener noreferrer" data-v-5978e1c0><span class="arrow" data-v-5978e1c0></span><span class="text" data-v-5978e1c0>版本更新日志</span><span class="icon" data-v-5978e1c0><svg class="icon outbound" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewbox="0 0 100 100" width="15" height="15" data-v-5978e1c0><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path><polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></span></a></div></li><!--]--></ul></div></div><!--]--><!----><!-- <div v-if="repo" class="item">
      <NavLink :item="repo" />
    </div> --></nav></div><div class="nav-icons" data-v-23ef83fe><div class="item" data-v-23ef83fe><button class="nav-btn" aria-label="Toggle Theme" data-v-23ef83fe><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="1.2em" height="1.2em" preserveaspectratio="xMidYMid meet" viewbox="0 0 24 24" style="display:none;"><path d="M10 7a7 7 0 0 0 12 4.9v.1c0 5.523-4.477 10-10 10S2 17.523 2 12S6.477 2 12 2h.1A6.979 6.979 0 0 0 10 7zm-6 5a8 8 0 0 0 15.062 3.762A9 9 0 0 1 8.238 4.938A7.999 7.999 0 0 0 4 12z" fill="currentColor"></path></svg><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="1.2em" height="1.2em" preserveaspectratio="xMidYMid meet" viewbox="0 0 24 24" style=""><path d="M12 18a6 6 0 1 1 0-12a6 6 0 0 1 0 12zm0-2a4 4 0 1 0 0-8a4 4 0 0 0 0 8zM11 1h2v3h-2V1zm0 19h2v3h-2v-3zM3.515 4.929l1.414-1.414L7.05 5.636L5.636 7.05L3.515 4.93zM16.95 18.364l1.414-1.414l2.121 2.121l-1.414 1.414l-2.121-2.121zm2.121-14.85l1.414 1.415l-2.121 2.121l-1.414-1.414l2.121-2.121zM5.636 16.95l1.414 1.414l-2.121 2.121l-1.414-1.414l2.121-2.121zM23 11v2h-3v-2h3zM4 11v2H1v-2h3z" fill="currentColor"></path></svg></button></div><div class="item" data-v-23ef83fe><a class="nav-btn" href="https://git.piesat.cn:10004/piecloud/PIE-SaaS/web/module-group/pie-smart-earth-web" target="_blank" aria-label="View GitHub Repo" data-v-23ef83fe><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="1.2em" height="1.2em" preserveaspectratio="xMidYMid meet" viewbox="0 0 24 24" data-v-23ef83fe><path d="M5.883 18.653c-.3-.2-.558-.455-.86-.816a50.32 50.32 0 0 1-.466-.579c-.463-.575-.755-.84-1.057-.949a1 1 0 0 1 .676-1.883c.752.27 1.261.735 1.947 1.588c-.094-.117.34.427.433.539c.19.227.33.365.44.438c.204.137.587.196 1.15.14c.023-.382.094-.753.202-1.095C5.38 15.31 3.7 13.396 3.7 9.64c0-1.24.37-2.356 1.058-3.292c-.218-.894-.185-1.975.302-3.192a1 1 0 0 1 .63-.582c.081-.024.127-.035.208-.047c.803-.123 1.937.17 3.415 1.096A11.731 11.731 0 0 1 12 3.315c.912 0 1.818.104 2.684.308c1.477-.933 2.613-1.226 3.422-1.096c.085.013.157.03.218.05a1 1 0 0 1 .616.58c.487 1.216.52 2.297.302 3.19c.691.936 1.058 2.045 1.058 3.293c0 3.757-1.674 5.665-4.642 6.392c.125.415.19.879.19 1.38a300.492 300.492 0 0 1-.012 2.716a1 1 0 0 1-.019 1.958c-1.139.228-1.983-.532-1.983-1.525l.002-.446l.005-.705c.005-.708.007-1.338.007-1.998c0-.697-.183-1.152-.425-1.36c-.661-.57-.326-1.655.54-1.752c2.967-.333 4.337-1.482 4.337-4.66c0-.955-.312-1.744-.913-2.404a1 1 0 0 1-.19-1.045c.166-.414.237-.957.096-1.614l-.01.003c-.491.139-1.11.44-1.858.949a1 1 0 0 1-.833.135A9.626 9.626 0 0 0 12 5.315c-.89 0-1.772.119-2.592.35a1 1 0 0 1-.83-.134c-.752-.507-1.374-.807-1.868-.947c-.144.653-.073 1.194.092 1.607a1 1 0 0 1-.189 1.045C6.016 7.89 5.7 8.694 5.7 9.64c0 3.172 1.371 4.328 4.322 4.66c.865.097 1.201 1.177.544 1.748c-.192.168-.429.732-.429 1.364v3.15c0 .986-.835 1.725-1.96 1.528a1 1 0 0 1-.04-1.962v-.99c-.91.061-1.662-.088-2.254-.485z" fill="currentColor"></path></svg></a></div></div><!--[--><!--]--></header><!--[--><aside class="sidebar" data-v-3e48a26e><nav class="nav-links nav" data-v-3e48a26e data-v-0cf770ed><!--[--><div class="item" data-v-0cf770ed><div class="nav-dropdown-link" data-v-0cf770ed data-v-33970600><button class="button" data-v-33970600><span class="button-text" data-v-33970600>指南</span><span class="right button-arrow" data-v-33970600></span></button><ul class="dialog" data-v-33970600><!--[--><li class="dialog-item" data-v-33970600><div class="nav-dropdown-link-item" data-v-33970600 data-v-5978e1c0><a class="item" href="/onlinedocx/guide/introduction" data-v-5978e1c0><span class="arrow" data-v-5978e1c0></span><span class="text" data-v-5978e1c0>指南</span><span class="icon" data-v-5978e1c0><!----></span></a></div></li><li class="dialog-item" data-v-33970600><div class="nav-dropdown-link-item" data-v-33970600 data-v-5978e1c0><a class="item" href="/onlinedocx/dep/i18n" data-v-5978e1c0><span class="arrow" data-v-5978e1c0></span><span class="text" data-v-5978e1c0>深入</span><span class="icon" data-v-5978e1c0><!----></span></a></div></li><!--]--></ul></div></div><div class="item" data-v-0cf770ed><div class="nav-dropdown-link" data-v-0cf770ed data-v-33970600><button class="button" data-v-33970600><span class="button-text" data-v-33970600>组件</span><span class="right button-arrow" data-v-33970600></span></button><ul class="dialog" data-v-33970600><!--[--><li class="dialog-item" data-v-33970600><div class="nav-dropdown-link-item" data-v-33970600 data-v-5978e1c0><a class="item" href="/onlinedocx/components/introduction_com" data-v-5978e1c0><span class="arrow" data-v-5978e1c0></span><span class="text" data-v-5978e1c0>介绍</span><span class="icon" data-v-5978e1c0><!----></span></a></div></li><li class="dialog-item" data-v-33970600><div class="nav-dropdown-link-item" data-v-33970600 data-v-5978e1c0><a class="item" href="/onlinedocx/components/introduction" data-v-5978e1c0><span class="arrow" data-v-5978e1c0></span><span class="text" data-v-5978e1c0>全局组件</span><span class="icon" data-v-5978e1c0><!----></span></a></div></li><li class="dialog-item" data-v-33970600><div class="nav-dropdown-link-item" data-v-33970600 data-v-5978e1c0><a class="item" href="/onlinedocx/components/introduction" data-v-5978e1c0><span class="arrow" data-v-5978e1c0></span><span class="text" data-v-5978e1c0>功能组件</span><span class="icon" data-v-5978e1c0><!----></span></a></div></li><li class="dialog-item" data-v-33970600><div class="nav-dropdown-link-item" data-v-33970600 data-v-5978e1c0><a class="item" href="/onlinedocx/components/image-viewer" data-v-5978e1c0><span class="arrow" data-v-5978e1c0></span><span class="text" data-v-5978e1c0>函数式组件</span><span class="icon" data-v-5978e1c0><!----></span></a></div></li><!--]--></ul></div></div><div class="item" data-v-0cf770ed><div class="nav-dropdown-link" data-v-0cf770ed data-v-33970600><button class="button" data-v-33970600><span class="button-text" data-v-33970600>示例</span><span class="right button-arrow" data-v-33970600></span></button><ul class="dialog" data-v-33970600><!--[--><li class="dialog-item" data-v-33970600><div class="nav-dropdown-link-item" data-v-33970600 data-v-5978e1c0><a class="item" href="/onlinedocx/components/introduction" data-v-5978e1c0><span class="arrow" data-v-5978e1c0></span><span class="text" data-v-5978e1c0>介绍</span><span class="icon" data-v-5978e1c0><!----></span></a></div></li><li class="dialog-item" data-v-33970600><div class="nav-dropdown-link-item" data-v-33970600 data-v-5978e1c0><a class="item" href="/onlinedocx/components/mainapp" data-v-5978e1c0><span class="arrow" data-v-5978e1c0></span><span class="text" data-v-5978e1c0>主系统</span><span class="icon" data-v-5978e1c0><!----></span></a></div></li><li class="dialog-item" data-v-33970600><div class="nav-dropdown-link-item" data-v-33970600 data-v-5978e1c0><a class="item" href="/onlinedocx/components/mapapp" data-v-5978e1c0><span class="arrow" data-v-5978e1c0></span><span class="text" data-v-5978e1c0>子系统一</span><span class="icon" data-v-5978e1c0><!----></span></a></div></li><li class="dialog-item" data-v-33970600><div class="nav-dropdown-link-item" data-v-33970600 data-v-5978e1c0><a class="item" href="/onlinedocx/components/demoapp" data-v-5978e1c0><span class="arrow" data-v-5978e1c0></span><span class="text" data-v-5978e1c0>子系统二</span><span class="icon" data-v-5978e1c0><!----></span></a></div></li><!--]--></ul></div></div><div class="item" data-v-0cf770ed><div class="nav-link" data-v-0cf770ed data-v-48f23096><a class="item" href="/onlinedocx/hooks/introduction" data-v-48f23096>常用Hooks <!----></a></div></div><div class="item" data-v-0cf770ed><div class="nav-dropdown-link" data-v-0cf770ed data-v-33970600><button class="button" data-v-33970600><span class="button-text" data-v-33970600>相关链接</span><span class="right button-arrow" data-v-33970600></span></button><ul class="dialog" data-v-33970600><!--[--><li class="dialog-item" data-v-33970600><div class="nav-dropdown-link-item" data-v-33970600 data-v-5978e1c0><a class="item isExternal" href="https://m608-preview.gitee.io/onlinedocx/guide/introduction.html" target="_blank" rel="noopener noreferrer" data-v-5978e1c0><span class="arrow" data-v-5978e1c0></span><span class="text" data-v-5978e1c0>在线预览</span><span class="icon" data-v-5978e1c0><svg class="icon outbound" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewbox="0 0 100 100" width="15" height="15" data-v-5978e1c0><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path><polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></span></a></div></li><li class="dialog-item" data-v-33970600><div class="nav-dropdown-link-item" data-v-33970600 data-v-5978e1c0><a class="item isExternal" href="https://git.piesat.cn:10004/piecloud/PIE-SaaS/web/module-group/pie-smart-earth-web" target="_blank" rel="noopener noreferrer" data-v-5978e1c0><span class="arrow" data-v-5978e1c0></span><span class="text" data-v-5978e1c0>GitLab 智慧地球源码</span><span class="icon" data-v-5978e1c0><svg class="icon outbound" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewbox="0 0 100 100" width="15" height="15" data-v-5978e1c0><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path><polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></span></a></div></li><li class="dialog-item" data-v-33970600><div class="nav-dropdown-link-item" data-v-33970600 data-v-5978e1c0><a class="item isExternal" href="https://gitee.com/mzy_sw/onlineDoc.git" target="_blank" rel="noopener noreferrer" data-v-5978e1c0><span class="arrow" data-v-5978e1c0></span><span class="text" data-v-5978e1c0>GitLab 智慧地球在线文档源码</span><span class="icon" data-v-5978e1c0><svg class="icon outbound" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewbox="0 0 100 100" width="15" height="15" data-v-5978e1c0><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path><polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></span></a></div></li><li class="dialog-item" data-v-33970600><div class="nav-dropdown-link-item" data-v-33970600 data-v-5978e1c0><a class="item isExternal" href="https://localhost:3000/CHANGELOG.md" target="_blank" rel="noopener noreferrer" data-v-5978e1c0><span class="arrow" data-v-5978e1c0></span><span class="text" data-v-5978e1c0>版本更新日志</span><span class="icon" data-v-5978e1c0><svg class="icon outbound" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewbox="0 0 100 100" width="15" height="15" data-v-5978e1c0><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path><polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></span></a></div></li><!--]--></ul></div></div><!--]--><!----><!-- <div v-if="repo" class="item">
      <NavLink :item="repo" />
    </div> --></nav><!--[--><!--]--><ul class="sidebar-links" data-v-3e48a26e><!--[--><li class="sidebar-link"><p class="sidebar-link-item">组件</p><ul class="sidebar-links"><li class="sidebar-link"><a class="sidebar-link-item" href="/onlinedocx/components/introduction_com">前言</a><!----></li></ul></li><li class="sidebar-link"><p class="sidebar-link-item">全局组件</p><ul class="sidebar-links"><li class="sidebar-link"><a class="sidebar-link-item" href="/onlinedocx/components/PIEButton">PIEButton 组件</a><!----></li><li class="sidebar-link"><a class="sidebar-link-item" href="/onlinedocx/components/PIETable">PIETable 组件</a><!----></li><li class="sidebar-link"><a class="sidebar-link-item" href="/onlinedocx/components/PIEPage">PIEPage 组件</a><!----></li><li class="sidebar-link"><a class="sidebar-link-item active" href="/onlinedocx/components/PIEPanel">PIEPanel 组件</a><ul class="sidebar-links"><li class="sidebar-link"><a class="sidebar-link-item" href="#piepanel-属性">PIEPanel 属性</a><!----></li><li class="sidebar-link"><a class="sidebar-link-item" href="#piepanel-事件">PIEPanel 事件</a><!----></li></ul></li><li class="sidebar-link"><a class="sidebar-link-item" href="/onlinedocx/components/PIEModal">PIEModal 组件</a><!----></li></ul></li><li class="sidebar-link"><p class="sidebar-link-item">功能组件</p><ul class="sidebar-links"><li class="sidebar-link"><a class="sidebar-link-item" href="/onlinedocx/components/PIESwitchLang">PIESwitchLang 国际语言切换组件</a><!----></li></ul></li><!--]--></ul><!--[--><!--]--></aside><!-- <Slugs /> --><!--]--><!-- TODO: make this button accessible --><div class="sidebar-mask"></div><main class="page" data-v-4c107763><div class="container" data-v-4c107763><!--[--><!--]--><div class="content" data-v-4c107763><div data-v-4c107763><h1 id="piepanel-按钮组件"><a class="header-anchor" href="#piepanel-按钮组件" aria-hidden="true">#</a> PIEPanel 按钮组件</h1><p>基于vue3.x、ts封装 ，支持设置 宽度、高度以及标题，默认无遮罩层</p><p>PIEPanel 组件位于 /packages/PIEPanel 内，PIEPanel 支持全局引入，按需引入</p><h3 id="基本用法"><a class="header-anchor" href="#基本用法" aria-hidden="true">#</a> 基本用法</h3><div class="language-vue"><pre><code><span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>template</span><span class="token punctuation">&gt;</span></span>
  <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>PIEPanel</span>  <span class="token attr-name">@confirm</span><span class="token attr-value"><span class="token punctuation attr-equals">=</span><span class="token punctuation">&quot;</span>clickComponent<span class="token punctuation">&quot;</span></span> <span class="token attr-name">class</span><span class="token attr-value"><span class="token punctuation attr-equals">=</span><span class="token punctuation">&quot;</span>pie-panel<span class="token punctuation">&quot;</span></span>  <span class="token attr-name">width</span><span class="token attr-value"><span class="token punctuation attr-equals">=</span><span class="token punctuation">&quot;</span>700px<span class="token punctuation">&quot;</span></span> <span class="token attr-name">moveLeft</span><span class="token attr-value"><span class="token punctuation attr-equals">=</span><span class="token punctuation">&quot;</span>50px<span class="token punctuation">&quot;</span></span> <span class="token attr-name">moveTop</span><span class="token attr-value"><span class="token punctuation attr-equals">=</span><span class="token punctuation">&quot;</span>150px<span class="token punctuation">&quot;</span></span>
  <span class="token attr-name">:showBtn</span><span class="token attr-value"><span class="token punctuation attr-equals">=</span><span class="token punctuation">&quot;</span>false<span class="token punctuation">&quot;</span></span><span class="token punctuation">&gt;</span></span>
        <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>template</span> <span class="token attr-name"><span class="token namespace">v-slot:</span>operateItem</span><span class="token punctuation">&gt;</span></span> 插槽内容<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span>template</span><span class="token punctuation">&gt;</span></span>

  <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span>PIEPanel</span><span class="token punctuation">&gt;</span></span>
<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span>template</span><span class="token punctuation">&gt;</span></span>

</code></pre></div><h2 id="piepanel-属性"><a class="header-anchor" href="#piepanel-属性" aria-hidden="true">#</a> PIEPanel 属性</h2><table><thead><tr><th>属性</th><th>说明</th><th>类型</th><th>可选值</th><th>默认值</th></tr></thead><tbody><tr><td>width</td><td>宽度</td><td><code>string</code></td><td>-</td><td>-</td></tr><tr><td>height</td><td>高度</td><td><code>string</code></td><td>-</td><td>-</td></tr><tr><td>title</td><td>标题</td><td><code>string</code></td><td>-</td><td>-</td></tr></tbody></table><h2 id="piepanel-事件"><a class="header-anchor" href="#piepanel-事件" aria-hidden="true">#</a> PIEPanel 事件</h2><table><thead><tr><th>方法名</th><th>说明</th><th>回调参数</th></tr></thead><tbody><tr><td>confirm</td><td>确认事件</td><td>(e: MouseEvent) =&gt; void</td></tr><tr><td>cancel</td><td>取消事件</td><td>(e: MouseEvent) =&gt; void</td></tr></tbody></table></div></div><footer class="page-footer" data-v-4c107763 data-v-126fe9ba><div class="updated" data-v-126fe9ba><!----></div></footer><div class="next-and-prev-link" data-v-4c107763 data-v-0002a634><div class="container" data-v-0002a634><div class="prev" data-v-0002a634><a class="link" href="/onlinedocx/components/PIEPage" data-v-0002a634><svg xmlns="http://www.w3.org/2000/svg" viewbox="0 0 24 24" class="icon icon-prev" data-v-0002a634><path d="M19,11H7.4l5.3-5.3c0.4-0.4,0.4-1,0-1.4s-1-0.4-1.4,0l-7,7c-0.1,0.1-0.2,0.2-0.2,0.3c-0.1,0.2-0.1,0.5,0,0.8c0.1,0.1,0.1,0.2,0.2,0.3l7,7c0.2,0.2,0.5,0.3,0.7,0.3s0.5-0.1,0.7-0.3c0.4-0.4,0.4-1,0-1.4L7.4,13H19c0.6,0,1-0.4,1-1S19.6,11,19,11z"></path></svg><span class="text" data-v-0002a634>PIEPage 组件</span></a></div><div class="next" data-v-0002a634><a class="link" href="/onlinedocx/components/PIEModal" data-v-0002a634><span class="text" data-v-0002a634>PIEModal 组件</span><svg xmlns="http://www.w3.org/2000/svg" viewbox="0 0 24 24" class="icon icon-next" data-v-0002a634><path d="M19.9,12.4c0.1-0.2,0.1-0.5,0-0.8c-0.1-0.1-0.1-0.2-0.2-0.3l-7-7c-0.4-0.4-1-0.4-1.4,0s-0.4,1,0,1.4l5.3,5.3H5c-0.6,0-1,0.4-1,1s0.4,1,1,1h11.6l-5.3,5.3c-0.4,0.4-0.4,1,0,1.4c0.2,0.2,0.5,0.3,0.7,0.3s0.5-0.1,0.7-0.3l7-7C19.8,12.6,19.9,12.5,19.9,12.4z"></path></svg></a></div></div></div><!--[--><!--]--></div></main></div><!----><!--]--></div>
    <script>__VP_HASH_MAP__ = JSON.parse("{\"index.md\":\"6cb2edcd\",\"readme.md\":\"2102e4ff\",\"components_demoapp.md\":\"fa6343ea\",\"components_introduction.md\":\"d8d460b8\",\"components_introduction_com.md\":\"9951ea9d\",\"components_mainapp.md\":\"ae0d2342\",\"components_mapapp.md\":\"a505b547\",\"components_piebutton.md\":\"883f5dc7\",\"components_piemodal.md\":\"4eb4a4d2\",\"components_piepage.md\":\"5f1eb831\",\"components_piepanel.md\":\"7168684d\",\"components_pieswitchlang.md\":\"ce7ac1ed\",\"components_pietable.md\":\"04661233\",\"components_sticky.md\":\"0df4d142\",\"dep_dark.md\":\"4e86f7fe\",\"dep_i18n.md\":\"eb35758e\",\"dep_lint.md\":\"ca871644\",\"dep_ssr.md\":\"b2dfe318\",\"dep_theme.md\":\"71bfaf39\",\"guide_auth.md\":\"d7b4a528\",\"guide_component.md\":\"b984b86d\",\"guide_deploy.md\":\"37e87483\",\"guide_design.md\":\"855d9149\",\"guide_fqa.md\":\"ac88244b\",\"guide_index.md\":\"2b07d676\",\"guide_introduction.md\":\"3fa71234\",\"guide_maindoc.md\":\"48309c5d\",\"guide_router.md\":\"ae436954\",\"guide_settings.md\":\"4748e13a\",\"guide_specification.md\":\"f1f55221\",\"guide_version.md\":\"7b201b4e\",\"hooks_introduction.md\":\"31936081\",\"hooks_useclipboard.md\":\"e9631906\",\"hooks_usecrudschemas.md\":\"3a0e4601\",\"hooks_usenetwork.md\":\"a7397dc9\",\"hooks_usestorage.md\":\"e3909a5f\",\"hooks_usetagsview.md\":\"4269b6f2\",\"hooks_usewatermark.md\":\"5bc7cf84\",\"visualization_index.md\":\"825518c0\"}")</script>
    <script type="module" async src="/onlinedocx/assets/app.a6a2ebb4.js"></script>
  </body>
</html>